package com.suneee.trades.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.suneee.orm.annotation.Column;
import com.suneee.orm.annotation.Entity;
import com.suneee.orm.annotation.Table;
import com.suneee.orm.annotation.Transient;

@Entity
@Table(name = "v_shopp")
public class ViewShopp implements Serializable {

	private static final long serialVersionUID = 1L;
	@Column(name = "shopp_id")
	private Integer shoppId;

	@Column(name = "shop_id")
	private Integer shopId;

	@Column(name = "tid")
	private String tid;
	
	@Column(name = "tids")
	private String tids;

	@Column(name = "quantity")
	private Integer quantity;

	@Column(name = "title")
	private String title;

	@Column(name = "audit_time")
	private Date auditTime;
	
	@Column(name="name")
	private String name;

	@Column(name = "remark")
	private String remark;

	@Column(name = "company_name")
	private String companyName;

	@Column(name = "buyer_nick")
	private String buyerNick;

	@Column(name = "created")
	private Date created;
	
	@Column(name="status")
	private String status;
	
	@Column(name="fail_tids")
    private String failTids;
	
	@Column(name="enterprise_code")
	private String enterpriseCode;
	
	@Column(name="company_code")
	private String companyCode;

	@Column(name="out_sid")
	private String outSid;
	
	@Column(name="channel_code")
	private String channelCode;
	
	@Column(name="channel_name")
	private String channelName;

	@Transient
	private List<ViewShoppDetail> shoppDetails;
	
    
	public String getEnterpriseCode() {
		return enterpriseCode;
	}

	public void setEnterpriseCode(String enterpriseCode) {
		this.enterpriseCode = enterpriseCode;
	}

	public Integer getShoppId() {
		return shoppId;
	}

	public void setShoppId(Integer shoppId) {
		this.shoppId = shoppId;
	}

	public String getTids() {
		return tids;
	}

	public void setTids(String tids) {
		this.tids = tids;
	}

	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getBuyerNick() {
		return buyerNick;
	}

	public void setBuyerNick(String buyerNick) {
		this.buyerNick = buyerNick;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public List<ViewShoppDetail> getShoppDetails() {
		return shoppDetails;
	}

	public void setShoppDetails(List<ViewShoppDetail> shoppDetails) {
		this.shoppDetails = shoppDetails;
	}

	public String getOutSid() {
		return outSid;
	}

	public void setOutSid(String outSid) {
		this.outSid = outSid;
	}

	public Integer getShopId() {
		return shopId;
	}

	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getFailTids() {
		return failTids;
	}

	public void setFailTids(String failTids) {
		this.failTids = failTids;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCompanyCode() {
		return companyCode;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public String getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}
	
}
